package com.dhsc.controller.ywjk.jzcl;

import com.dhsc.domain.jkzx.ywjk.jzcl.YcmxlsVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.jzcl.IYcmxlsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: YcmxlsinfoController
 * @Description: 历史异常明细
 * @date: 2023/8/29 14:07
 * @author: gx
 */
@Controller
@RequestMapping("/ywjk/jzcl")
public class YcmxlsController {

    @Autowired
    private IYcmxlsService ycmxlsService;

    /**
     * @Title: queryYcmxls
     * @Description: 查询历史异常明细信息
     * @param ycmxlsVo
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryYcmxls")
    public LayuiTableVo queryYcmxls(YcmxlsVo ycmxlsVo){
        return ycmxlsService.queryYcmxls(ycmxlsVo);
    }

    /**
     * @Title: queryYybByCzr
     * @Description: 查询营业部名称
     * @param ycmxlsVo
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryYybByCzr")
    public ResponseObject queryYybByCzr(YcmxlsVo ycmxlsVo){
        return ycmxlsService.queryYybByCzr(ycmxlsVo);
    }

    /**
     * @Title: queryZhTxtdm
     * @Description: 查询zh用户字典
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryZhTxtdm")
    public ResponseObject queryZhTxtdm(YcmxlsVo ycmxlsVo){
        return ycmxlsService.queryZhTxtdm(ycmxlsVo);
    }
}
